package movie.mapper;

import java.util.List;

import movie.entity.Hall;
import movie.entity.OrderSeat;
import movie.entity.Seat;

public interface SeatMapper {
	/**
	 * 通过hallId返回影厅所有的座位信息
	 * @param hallId
	 * @return
	 */
	List<Seat> findAllSeat(Hall hall);
	/**
	 * 设置座位状态
	 * @param seatId
	 * @return
	 */
	int setSeatState(int seatId);
	/**
	 * 插入订单座位选择表
	 * @param orderSeat
	 * @return
	 */
	int insertOrderSeat(OrderSeat orderSeat);
	
}
